//
//  QJMinePasswordVC.m
//  QuanJieShopProject
//
//  Created by 刘中义 on 2018/2/25.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "QJMinePasswordVC.h"
#import "QJChangeLoginPasswordVC.h"
@interface QJMinePasswordVC ()

@end

@implementation QJMinePasswordVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.title = @"密码管理";
}
- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [self setNavAlpha:YES];
    //控件不被导航栏遮挡
    self.navigationController.navigationBar.translucent = NO;
    self.view.backgroundColor = HexRGB(0xe6e6e6);
}
- (void)viewWillDisappear:(BOOL)animated{
    [super viewWillDisappear:animated];
    [self setNavAlpha:NO];
    self.navigationController.navigationBar.translucent = YES;
}
- (IBAction)passwordBtnClickAction:(UIButton *)sender {
    NSInteger tag = sender.tag;
    switch (tag) {
        case 200:
            {
                //登录密码
                QJChangeLoginPasswordVC *VC = [[QJChangeLoginPasswordVC alloc]init];
                KPushViewControllerAction(VC);
            }
            break;
            
        default:
        {
            //支付密码
        }
            break;
    }
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
